package com.aiYouPms.admin.dto;

import com.aiYouPms.common.annotations.ValidEnum;
import com.aiYouPms.common.enumdata.Status;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class AdminUserParams {



    @NotBlank(message = "昵称不能为空")
    private String nickname;

    @NotBlank(message = "头像不能为空")
    private String avatarUrl;

    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String email;

    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @NotBlank(message = "微信号不能为空")
    private String wechat;

    @NotBlank(message = "备注不能为空")
    private String remark;

    @ValidEnum(enumClass = Status.class, message = "状态值无效")
    private Integer status;
}
